package com.it.dao;

import com.it.domin.User;
import org.apache.ibatis.jdbc.Null;

import java.util.Date;
import java.util.List;

public interface UserDao {
    List<User> findAll();

    void add(int id, String username, Date birthday, String sex, String address);

    void delete(String name);

    void update(String name, String newAddress);
}
